@extends('home.home')
@section('content')	
<!--content-->
<div class="blog"  style="background: url({{asset('/images/7.jpg')}}); height:100%; width:100%;  background-attachment: fixed;">
<div class="container">
	<h1>博客</h1>
	       <div class="blog-top">
			  <div class="col-md-10 grid_3">

                    @foreach($data as $row)

					<h3><a href="">商品描述</a></h3>
					<a href=""><img src=" {{asset($row -> mpic)}} " class="img-responsive" alt=""/></a>
					
					<div class="blog-poast-info">
						<ul id="jid">
							<li><a class="admin" href="#"><i> </i> {{$row -> uname}} </a></li>
							<li><span><i class="date"> </i> {{$row -> regtime}} </span></li>
							<li><a class="p-blog" href="blog_single.html"><i class="comment"> </i>留下您的宝贵意见</a></li>
						</ul>
				    </div>
					<p> {{$row -> idea}} </p>
					<div class="button"><a href="{{url('/home/message/review')}}/{{$row->uid}}">查看更多</a></div>
					<div style="height: 20px;"></div>
					@endforeach
				</div>
				<div class="col-md-12 grid_4">
					<div class="button"><a href="{{url('/home/message/add')}}">亲 秀一下自己的心情吧</a></div>
				</div>
				
			  </div>

      </div>
</div>

<!--//content-->
@endsection
